<script setup lang="ts">
import { ref } from 'vue';
const active = ref(0)

</script>


<template>
    <div class="container">
        <van-tabbar v-model="active">
            <van-tabbar-item icon="home-o" to="/home">主页</van-tabbar-item>
            <van-tabbar-item icon="contact-o" to="/my">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<style scoped lang="scss">
.container {
    display: flex;
    flex-basis: 50px;
}
.title {
    padding: 0%;
    margin: 0%;
}
</style>
